const router = require('koa-router')(),
  login=require('../models/login.js');


router.prefix('/login')

router.get('/', async function (ctx, next) {
    const {id,cipher}=ctx.query;
    ctx.body=await login.getLogin(id,cipher);
})

module.exports = router
